<!-- contain BEGIN -->
<div class="row contentBox">
    <app-sidebar-system></app-sidebar-system>
    <div class="contentArea_rightDiv">
        <div class="row txtTitle" style="height: 90px;background: #DEE9EE;padding-top: 10px;padding-bottom: 10px;">
            <div col-md-6 style="width:50%;text-align: right;" *ngIf="right['systemDatabase']['databaseBackup']">
                <button class="btn btn-blue" style="width:104px;height: 70px;font-size: 16px;" data-toggle="modal" data-target="#databaseBackupOrRestore" (click)="config._databaseType('backup')" mat-button>备份</button>
            </div>
            <div col-md-6 style="width:50%;text-align: left;padding-left:8px; " *ngIf="right['systemDatabase']['databaseRestore']" [ngStyle]="{'text-align': right['systemDatabase']['databaseBackup'] ? 'left':'right','border-left': right['systemDatabase']['databaseBackup'] ? '1px solid #ABB1B3':'0px'}">
                <button class="btn btn-orange" style="height: 70px;font-size: 16px;" data-toggle="modal" data-target="#databaseBackupOrRestore" (click)="config._databaseType('restore')" [disabled]="table.removeTableService.getRemoveTableId == 0" mat-button>一键还原</button>
            </div>
        </div>
        <div class="row txtTitle">
            <span style="size:14px;font-weight:bold;">备份记录</span>
        </div>
        <!-- 表格 BEGIN -->
        <app-database-table  
            #table
            [tableNumber]="tableNumber"
            (tabeListOutput)="ParentList($event)" 
            (isSelectFromTable)="isSelectFromTableHandler($event)"
        ></app-database-table>
        <!-- 表格 end -->

        <!-- 分页 BEGIN -->
      <app-pagination [getTotalItems]="totalItems" (isLoadTableFromPagination)="isLoadTableFromPaginationHandler($event)"></app-pagination>
      <!-- 分页 END -->
    </div>
</div>
<!--content  end-->

<app-database-config #config (table)="table.getTabList(1,20,'')"></app-database-config>

